package com.xiaoshuidi.cloud.module.contract.convert.contract;

import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.ownerContract.ContractOwnerRoomRefVO;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract.ContractHouseOwnerRoomRefDO;
import com.xiaoshuidi.cloud.module.contract.service.contract.dto.RoomHouseRespDTO;
import com.xiaoshuidi.cloud.module.rooms.vo.RoomHouseRespVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业主合同房间关联 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface ContractHouseOwnerRoomRefConvert {

    ContractHouseOwnerRoomRefConvert INSTANCE = Mappers.getMapper(ContractHouseOwnerRoomRefConvert.class);

    ContractHouseOwnerRoomRefDO convertRoomRefVO2RoomRefDO(ContractOwnerRoomRefVO bean);

    List<ContractHouseOwnerRoomRefDO> convertRoomRefVOList2RoomRefDOList(List<ContractOwnerRoomRefVO> bean);

    ContractOwnerRoomRefVO convertRoomRefDO2RoomRefVO(ContractHouseOwnerRoomRefDO bean);

    List<ContractOwnerRoomRefVO> convertRoomRefDOList2RoomRefVOList(List<ContractHouseOwnerRoomRefDO> bean);

    RoomHouseRespDTO converRespVo2RespDto(RoomHouseRespVo respVo);
}
